package com.moto.entityDto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CarBrandDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 品牌id
     */
    private Integer id;

    /**
     * 车辆品牌名称
     */
    private String carBrandName;

    /**
     * 照片
     */
    private String photo;

    /**
     * 首字母
     */
    private String init;

    /**
     * 修改人id
     * @param id
     */
    private int updateId;

    /**
     * 修改时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;
}
